package com.wyj.utils


import android.content.Context

object AssetsUtil {
    const val ROOT="file:///android_asset/"
    @JvmStatic
    fun readString(context: Context, filePath: String): String {
        val assets = context.assets
        return String(assets.open(filePath).use {
            it.readBytes()
        })
    }
}